This getGroups() method was not called anywhere for
a long time, the last user was dropped at commit
8fdf47ea5b ("keyboard: Do not create widgetry for
all keyboard groups at once").
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3162>
this.emit('purpose-changed', purpose);
}
- getGroups() {
- let inputSources = this._inputSourceManager.inputSources;
- let groups = [];
-
- for (let i in inputSources) {
- let is = inputSources[i];
- groups[is.index] = is.xkbId;
- }
-
- return groups;
- }
-
getCurrentGroup() {
// Special case for Korean, if Hangul mode is disabled, use the 'us' keymap
if (this._currentSource.id === 'hangul') {